﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DatHang.aspx.cs" Inherits="DatHang" MasterPageFile="~/Site.master"%>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
<style type="text/css">
        table
        {
            font: 11px/24px Verdana, Arial, Helvetica, sans-serif;
            border-collapse: collapse;
            width: 350px;
            border-right: 1px solid #CCC;
            border-top: 1px solid #CCC;
            margin: 10px;
        }
        
        th
        {
            padding: 0 0.5em;
            text-align: left;
        }
        
        tr.yellow td
        {
            border-top: 1px solid #FB7A31;
            border-bottom: 1px solid #FB7A31;
            background: #FFC;
        }
        
        td
        {
            border-bottom: 1px solid #CCC;
            padding: 0 0.5em;
            border-left: 1px solid #CCC;
        }
        
        td.width
        {
            width: 100px;
        }
        
        td.adjacent
        {
            text-align: center;
        }
        
        .tenxe
        {
            float: left;
            border: solid 1px #CCCCCC;
            height: 50px;
            margin: 10px;
            padding: 5px;
            font-size: large;
            width: 200px;
        }
        .giaxe
        {
            float: left;
            border: solid 1px #CCCCCC;
            height: 50px;
            margin: 10px;
            padding: 5px;
            background: none repeat scroll 0 0 #38231e;
            color: #FFF;
            text-align: justify;
            font-size: large;
            width: 150px;
        }
        .textright
        {
            text-align: right;
            width:100px;
        }
        .tdtrai
        {
            width:60px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<div>
<div style="background: none repeat scroll 0 0 #38231e; color: #FFF; padding: 5px;">
                <strong>THÔNG TIN ĐƠN HÀNG</strong></div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" 
        CellPadding="4" EnableModelValidation="True">
        <Columns>
            <asp:BoundField DataField="MAXE" HeaderText="Mã xe" />
            <asp:BoundField DataField="TENXE" HeaderText="Tên Xe" />
            <asp:BoundField DataField="SOLUONG" HeaderText="Số lượng" />
            <asp:BoundField DataField="GIABAN" DataFormatString="{0:###,###}" 
                HeaderText="Giá bán" />
            <asp:BoundField DataField="TONGTIEN" HeaderText="Thành Tiền" 
                DataFormatString="{0:n2}" />
        </Columns>
        <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
        <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
        <RowStyle BackColor="White" ForeColor="#330099" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
    </asp:GridView>
    <div style="margin:10px;">
    <asp:Label ID="Label1" runat="server" Text="Tổng tiền thanh toán:"></asp:Label><asp:TextBox ID="txtTongthanhtoan" runat="server" ReadOnly="true"></asp:TextBox></div>
   <div style="background: none repeat scroll 0 0 #38231e; color: #FFF; padding: 5px;">
                <strong>THÔNG TIN KHÁCH HÀNG</strong></div>
<table>
    
<tr><td>Họ tên</td><td> <asp:TextBox ID="txtHoTen" runat="server" Width="97%" BorderStyle="None"></asp:TextBox></td></tr>
<tr><td>Địa chỉ</td><td> <asp:TextBox ID="txtDC" runat="server" Width="97%" BorderStyle="None"></asp:TextBox></td></tr>
<tr><td>Điện thoại</td><td> <asp:TextBox ID="txtDT" runat="server" Width="97%" BorderStyle="None"></asp:TextBox></td></tr>
<tr><td>Email</td><td><asp:TextBox ID="txtEm" runat="server" Width="97%" BorderStyle="None"></asp:TextBox></td> </tr>
<tr><td>Mã số thuế</td><td> <asp:TextBox ID="txtThue" runat="server" Width="97%" BorderStyle="None"></asp:TextBox></td></tr>
</table>
<asp:ImageButton ID="ImageButton1" runat="server" 
        ImageUrl="~/images/icon_dathang.png" onclick="ImageButton1_Click" />
</div>
</asp:Content>
